package net.lab1024.sa.admin.module.business.traffic.aibi.domain.vo;

import java.time.LocalDateTime;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * Aibi 摄像机实时状态 VO
 */
@Data
public class AibiCameraStatusVO {

    @Schema(description = "摄像机编号")
    private String cameraCode;

    @Schema(description = "道路编号")
    private String roadCode;

    @Schema(description = "可变灯牌设备编号")
    private Integer deviceId;

    @Schema(description = "最近采集时间")
    private LocalDateTime lastSampleTime;

    @Schema(description = "左转车道排队长度")
    private Integer leftQueueLength;

    @Schema(description = "直行车道排队长度")
    private Integer straightQueueLength;

    @Schema(description = "左转/直行排队比值")
    private Double ratio;

    @Schema(description = "当前车道模式")
    private String currentMode;

    @Schema(description = "最近下发模式时间")
    private LocalDateTime lastSwitchTime;

    @Schema(description = "最近下发指令 requestId")
    private String lastCommandRequestId;

    @Schema(description = "最近一次指令响应状态")
    private String lastCommandStatus;

    @Schema(description = "最近一次指令响应信息")
    private String lastCommandMessage;
}

